package cn.player;
import cn.player.download.DownloadInfo;

interface AIDLDownloadClient {
	void onTaskStart(in DownloadInfo entity);
	
	void onTaskUpdate(in DownloadInfo entity);

	void onTaskComplete(in DownloadInfo entity);

	void onTaskPaused(in DownloadInfo entity);

	void onTaskCanceled(in DownloadInfo entity);
	
	void onTaskFailed(in DownloadInfo entity, in String err);

	void onNoTasks();
	
}
